<%@ Page Language="c#" Inherits="PHSRAG.Insight21.ExceptionReport" CodeFile="ExceptionReport.aspx.cs" %>

<%@ Register TagPrefix="cc2" Namespace="PHSRAG.Insight21.InsightWebControls" Assembly="PHSRAG.Insight21.InsightWebControls" %>
<%@ Register TagPrefix="cc1" Namespace="PHSRAG.WebControls" Assembly="PHSRAG.WebControls" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Exception Report</title>
    <link href="../Insight21.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="ExceptionReportForm" method="post" runat="server">
        <table class="Container">
            <tr>
                <td>
                    <table class="Header" width="100%">
                        <tr>
                            <td>
                                <cc2:Header ID="insightHeader" runat="server"></cc2:Header>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <cc2:PersonnelSubNavigation ID="personnelSubNavigation" runat="server"></cc2:PersonnelSubNavigation>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <cc1:BreadCrumb ID="exceptionReportBreadCrumb" runat="server" />
                            </td>
                        </tr>
                    </table>
                    <table width="100%" cellpadding="10" cellspacing="10" style="background-color:#ffffff">
                        <tr>
                            <td>
                                <cc1:ExpandingPanel ID="expandingPanel" runat="server" ExpansionToggler="expansionToggler">
                                    <StaticTemplate>
                                        <table class="Search">
                                            <tr>
                                                <td>
                                                    <cc2:CommonSearch ID="commonSearch" runat="server" Module="Personnel" OnSearch="OnSearch"
                                                        LabPickerVisible="false" PIPickerVisible="true" COSPickerVisible="false" Field2ID="employeeFirstName"
                                                        Field2Prompt="Employee First Name:" Field1ID="employeeLastName" Field1Prompt="Employee Last Name:"
                                                        ExtendedSearchControl="expiredSearch" ViewOptionVisible="false" OnClearSelection="OnClearSelection">
                                                    </cc2:CommonSearch>
                                                    <table cellspacing="0" cellpadding="0" width="100%">
                                                        <tr>
                                                            <td style="width:8%">
                                                                &nbsp;</td>
                                                            <td>
                                                                Exception Report Date:
                                                                <asp:DropDownList ID="reportDate" runat="server" Width="200px">
                                                                </asp:DropDownList>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td class="PanelSeparator">
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <cc1:ExpansionToggler ID="expansionToggler" runat="Server" CollapsedLinkCaption="Advanced Search Options"
                                                        ExpandedLinkCaption="Advanced Search Options" CollapsedImage="~/Images/Arrow_RT.gif"
                                                        ExpandedImage="~/Images/Arrow_DN.gif" />
                                                </td>
                                            </tr>
                                        </table>
                                    </StaticTemplate>
                                    <DynamicTemplate>
                                        <table class="Search">
                                            <tr>
                                                <td>
                                                    <cc2:ExpiredAndExceptionSearch ID="expiredSearch" runat="server" EffectiveSalaryDateVisible="false"
                                                        FundNumberVisible="false" ProjectEndingDateVisible="false" PayDateVisible="false">
                                                    </cc2:ExpiredAndExceptionSearch>
                                                </td>
                                            </tr>
                                        </table>
                                    </DynamicTemplate>
                                </cc1:ExpandingPanel>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <cc2:SearchCriteriaDisplay ID="searchCriteriaDisplay" runat="server" />
                                <input id="hiddenSearchCriteria" runat="server" type="hidden" /></td>
                        </tr>
                    </table>
                    <table class="Invisible" id="dynamicTable" cellspacing="10">
                        <tr>
                            <td>
                                <cc1:ActivityIndicator ID="activityIndicator" ContainerID="dynamicTable" runat="server">
                                </cc1:ActivityIndicator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <cc1:Annunciator ID="annunciator" ContainerID="dynamicTable" runat="server"></cc1:Annunciator>
                            </td>
                        </tr>
                    </table>
                    <table class="PlaceBar">
                        <tr>
                            <td class="PageName">
                                Exception Report</td>
                            <td align="center">
                                <cc2:RefreshDates ID="refreshDates" runat="server" Visible="True" SalaryAsOfDateVisible="True" />
                            </td>
                            <td align="right">
                                <cc2:InsightDownloadBar ID="reportDownload" runat="server" />
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                    </table>
                    <table cellspacing="0" cellpadding="0" width="100%">
                        <tr>
                            <td>
                                <cc1:Pager ID="pagerAboveDatagrid" runat="server"></cc1:Pager>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:DataGrid ID="exceptionReportGrid" CssClass="DataGrid" Width="100%" runat="server"
                                    AutoGenerateColumns="False" AllowPaging="True" AllowCustomPaging="True" AllowSorting="True">
                                    <AlternatingItemStyle CssClass="DataGridAlternatingItem"></AlternatingItemStyle>
                                    <ItemStyle CssClass="DataGridItem"></ItemStyle>
                                    <HeaderStyle CssClass="DataGridHeader"></HeaderStyle>
                                    <Columns>
                                        <asp:BoundColumn Visible="False" DataField="EmployeeJobMapId" SortExpression="EmployeeJobMapId"
                                            ReadOnly="True" HeaderText="EmployeeJobMapID"></asp:BoundColumn>
                                        <asp:ButtonColumn DataTextField="EmployeeName" SortExpression="EmployeeName" HeaderText="Employee Name"
                                            CommandName="SelectEmployee"></asp:ButtonColumn>
                                        <asp:BoundColumn DataField="EmployeeNumber" SortExpression="EmployeeNumber" ReadOnly="True"
                                            HeaderText="Employee ID"></asp:BoundColumn>
                                        <asp:BoundColumn DataField="RecordNumber" SortExpression="RecordNumber" ReadOnly="True"
                                            HeaderText="Rec #"></asp:BoundColumn>
                                        <asp:BoundColumn DataField="EffectiveDate" SortExpression="NewGroupEffectiveDate"
                                            ReadOnly="True" HeaderText="Effective"></asp:BoundColumn>
                                        <asp:BoundColumn DataField="ExpirationDate" SortExpression="NewStackEndDate" ReadOnly="True"
                                            HeaderText="Expiration"></asp:BoundColumn>
                                        <asp:BoundColumn DataField="Exception" SortExpression="Exception" ReadOnly="True"
                                            HeaderText="Exception"></asp:BoundColumn>
                                    </Columns>
                                    <PagerStyle Visible="False"></PagerStyle>
                                </asp:DataGrid></td>
                        </tr>
                        <tr>
                            <td>
                                <cc1:Pager ID="pagerBelowDatagrid" runat="server"></cc1:Pager>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
